package mvc.model.jpa;

import java.io.Serializable;
import javax.persistence.*;

import java.util.Date;

@Entity
@NamedQueries
({
	@NamedQuery(name = "allVerb", query="select s from EVerb s"),
	@NamedQuery(name = "countVerb", query="select Count(s) from EVerb s"),
	@NamedQuery(name = "delVerb", query="select Count(s) from ESub s")		
})
public class EVerb implements Serializable {
	private static final long serialVersionUID = 1L;
	private int id;
	private int conjugation;
	private String de;
	private Date lins;
	private String partizip2;
	private String pretoritum;
	private int rating;
	private String ro;

	public EVerb() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.TABLE)
	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}


	public int getConjugation() {
		return this.conjugation;
	}

	public void setConjugation(int conjugation) {
		this.conjugation = conjugation;
	}


	public String getDe() {
		return this.de;
	}

	public void setDe(String de) {
		this.de = de;
	}


	@Temporal( TemporalType.DATE)
	public Date getLins() {
		return this.lins;
	}

	public void setLins(Date lins) {
		this.lins = lins;
	}

	public String getPartizip2() {
		return this.partizip2;
	}

	public void setPartizip2(String partizip2) {
		this.partizip2 = partizip2;
	}


	public String getPretoritum() {
		return this.pretoritum;
	}

	public void setPretoritum(String pretoritum) {
		this.pretoritum = pretoritum;
	}


	public int getRating() {
		return this.rating;
	}

	public void setRating(int rating) {
		this.rating = rating;
	}


	public String getRo() {
		return this.ro;
	}

	public void setRo(String ro) {
		this.ro = ro;
	}

}